package com.example.wangkai.wangkai.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.wangkai.wangkai.R;
import com.example.wangkai.wangkai.app.MyApplication;

public class DetialActivity extends AppCompatActivity {

    private String name;
    private String pwd;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_detial);
        init();

        load(name,pwd);
        setListener();
    }

    private void setListener() {

    }

    private void load( String name, String pwd) {
        //获取token
        MyApplication app=MyApplication.getContext();
        String token=app.getToken();

    }

    /**
     * 初始化
     */
    private void init() {

    }

}
